﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class TestGui : MonoBehaviour {

	void Start ()
    {
        AdsManager.Instance.Initialize();
	}
	
	void Update () {
		
	}

    public void ShowBanner()
    {
        AdsManager.Instance.ShowBannerAd();
    }
    public void HideBanner()
    {
        AdsManager.Instance.HideBannerAd();
    }
    public void DestroyBanner()
    {
        AdsManager.Instance.DestroyBannerAd();
    }
    public void LoadBanner()
    {
        AdsManager.Instance.FetchAd(ADType.Banner);
    }
    public void ShowInterstitial()
    {
        AdsManager.Instance.ShowInterstitial();
    }
    public void ShowRewardAd()
    {
        AdsManager.Instance.ShowIncentivized();
    }

    public void ForceShowGDPR()
    {
        MoPub.ForceGdprApplicable();
        MoPub.LoadConsentDialog();
    }
}
